package com.ruoyi.cs.domain.dto.battle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @ClassName BattleStartReq
 * @Description TODO
 * @Author zz
 * @Date 2024/2/24
 **/
@Data
public class BattleStartReq implements Serializable {
    /** 对战台ID */
    @NotBlank
    @ApiModelProperty(value = "对战房间ID")
    private String battleId;

    @NotNull
    @ApiModelProperty(value = "是否选择机器人")
    private Boolean chooseRobot = false;

    @ApiModelProperty(value = "机器人id")
    private String robatId;

    @ApiModelProperty(value = "主播创建的粉丝对战是设置的参与密码")
    private String fanPwd;

    @ApiModelProperty(value = "选择对战坑位")
    @Pattern(regexp = "[234]", message = "Number must be 2, 3, or 4")
    private String pitlocation;
}
